tests: Fix clang-analyzer not seeing through `g_error()`
authorColin Walters <walters@verbum.org>
Tue, 21 Dec 2021 19:24:03 +0000 (14:24 -0500)
committerColin Walters <walters@verbum.org>
Tue, 21 Dec 2021 20:14:34 +0000 (15:14 -0500)
commitd2f5a0476f37973d2027029662f41413d2d8e243
tree6f671a7849560f578420fe60b99246a804873b7e
parent27c14f2be63e959d486fd9d91231e493f27739ba
tests: Fix clang-analyzer not seeing through `g_error()`

Basically due to the glib structured logging rework we lost the
`noreturn` attribute on `g_error()`.
This is fixed in glib as of https://gitlab.gnome.org/GNOME/glib/-/commit/f97ff20adf4eb7b952dd83e2c13046fe9e282f50

But we might as well just throw an error here.
tests/test-commit-sign-sh-ext.c